Skip to content

Local storage for search#21

Merged
JooNiv merged 3 commits intorewrite/mainfrom
localstorage-for-search
Jun 13, 2025
Merged

Local storage for search#21
JooNiv merged 3 commits intorewrite/mainfrom
localstorage-for-search

Conversation

@JooNiv
Copy link
Copy Markdown
Member

@JooNiv JooNiv commented Jun 12, 2025

  • Refactor search to use local storage to remember the users previous search (for 30mins)
  • On component load tries to fetch the previously toggled filters and the previous query from local storage
    • If they exist set them to the fetched values and fetch the results of the query
    • if not set them to initial ones instead (empty query no filters toggled)

@JooNiv JooNiv merged commit 69a5307 into rewrite/main Jun 13, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant